import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;

public class DateFormatter {
	public static void main(String[] args) throws InterruptedException {
		while (true) {
			Date date = Calendar.getInstance().getTime();

			DateFormat formatter = new SimpleDateFormat("hh:mm:ss.SSS");
			String today = formatter.format(date);
			System.out.println("Today : " + today);
			Thread.sleep(1000);
		}
	}

}